A Progressive Approach to Recursion

نویسنده

  • J. Ángel Velázquez-Iturbide
چکیده

We propose a progressive approach to simplify teaching recursion. It is introduced by means of three instances of increasing level of difficulty. First, recursion is introduced in a “pure” form as it is found in formal grammars; its accompanying mechanisms are related to rewriting. Later, a functional programming language allows defining recursive functions and recursive data types; its mechanisms are associated to algorithmics and rewriting. Finally, recursion is shown in imperative languages, together with mechanisms about algorithmics and state transformations. The approach has three main advantages. First, the student perceives recursion as a recurrent concept in the discipline of computer science, not only existing in imperative programming. Second, the concept of recursion is isolated and differentiated from other concepts or mechanisms which are associated to particular instances of recursion. Finally, the teaching of recursion is simplified because it is taught in a

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Intelligent scalable image watermarking robust against progressive DWT-based compression using genetic algorithms

Image watermarking refers to the process of embedding an authentication message, called watermark, into the host image to uniquely identify the ownership. In this paper a novel, intelligent, scalable, robust wavelet-based watermarking approach is proposed. The proposed approach employs a genetic algorithm to find nearly optimal positions to insert watermark. The embedding positions coded as chr...

متن کامل

Numerical Study of Progressive Collapse in Framed Structures: A New Approach for Dynamic Column Removal (TECHNICAL NOTE)

Progressive collapse is a situation where local failure of a primary structural component leads to the collapse of adjoining members which, in turn, leads to additional collapse. Hence, the total damage is disproportionate to the original cause. The most common local failure in framed structure is assumed to be column failure. In this paper, a new approach for dynamic column removal in framed s...

متن کامل

Numerical Study of Progressive Collapse in Intermediate Moment Resisting Reinforced Concrete Frame Due to Column Removal

Progressive collapse is a chain reaction of failures propagating throughout a portion of the structure disproportionate to the original local failure occurring when a sudden loss of a critical load‐bearing element initiates a structural element failure, eventually resulting in partial or full collapse of the structure. Both General Services Administration (GSA) and United States Department of D...

متن کامل

Frequency Estimation of Unbalanced Three-Phase Power System using a New LMS Algorithm

This paper presents a simple and easy implementable Least Mean Square (LMS) type approach for frequency estimation of three phase power system in an unbalanced condition. The proposed LMS type algorithm is based on a second order recursion for the complex voltage derived from Clarke's transformation which is proved in the paper. The proposed algorithm is real adaptive filter with real parameter...

متن کامل

Progressive classification in the compressed domain for large EOS satellite databases

We introduce a new framework for classifying large images that is more accurate and less computationally expensive than the classical pixel-by-pixel approach. This approach, called progressive classiication, is well suited for analyzing large images, such as multispectral satellite scenes, compressed with wavelet-based or block-transform-based transformations. These transformations produce a mu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999